﻿using SqlSugar;

namespace ProjectScheduling_web.model
{
    /// <summary>
    /// 收款合同表
    /// </summary>
    [SugarTable("ReceiveMoney_Contract")]
    public class ReceiveMoney_Contract : BClass
    {
        /// <summary>
        /// 收款主表ID
        /// </summary>
        public int ReceiveMoneyId { get; set; }
        /// <summary>
        /// 合同ID
        /// </summary>
        public int ContractId { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string? ContractCode { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string? ProjectName { get; set; }
        /// <summary>
        /// 收款期次
        /// </summary>
        public string? Term { get; set; }
        /// <summary>
        /// 剩余应收金额
        /// </summary>
        public decimal LeastMoney { get; set; }
        /// <summary>
        /// 收款金额
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Note { get; set; }
        /// <summary>
        /// 收款时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 操作人ID
        /// </summary>
        public int CreaterId { get; set; }
        /// <summary>
        /// 操作人名称
        /// </summary>
        public string? CreaterName { get; set; }
    }
}
